#import "~/graphql_shared/fragments/page_info.fragment.graphql"

query getRunnerProjects(
  $id: CiRunnerID!
  $search: String
  $first: Int
  $last: Int
  $before: String
  $after: String
) {
  runner(id: $id) {
    id
    ownerProject {
      id
    }
    projectCount
    projects(search: $search, first: $first, last: $last, before: $before, after: $after) {
      nodes {
        id
        avatarUrl
        description
        name
        nameWithNamespace
        webUrl
      }
      pageInfo {
        ...PageInfo
      }
    }
  }
}
